<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body>div{
            width: 1000px;margin: 0 auto;
        }
        #t_l_div{
            width: 611px;height: 376px;
            background-color: gray;
            float: left;
        }
        #t_r_div{
            width: 375px;height: 376px;
            background-color: gray;
            float: right;
        }
        #t_div,#b_div{
            overflow: hidden;/*解决高度识别为0的问题*/
            margin-bottom: 10px;
        }
        #b_l_div{
            width: 366px;height: 233px;
            background-color: gray;
            float: left;
        }
        #b_r_div{float: right;}
        #b_r_div>div{
            width: 198px;height: 233px;
            background-color: gray;
            float: left;margin-left: 10px;
        }
        body{
            font: 12px "simhei", Arial, Helvetica, sans-serif;
            color: #666;
        }
        #t_l_div>div{
            width: 245px;
            height: 232px;
            margin: 68px 0 0 36px;
        }
        .title_p{
            color: #333;font-size: 32px;margin-bottom: 12px;
        }
        .price_p{
            color: #0aa1ed;font-size: 24px;font-weight: bold;margin-bottom: 12px;
        }
        #t_div a{
            width: 132px;height: 40px;background-color: #0aa1ed;
            display: block;text-align: center;line-height: 40px;
            color: white;font-size: 20px;border-radius: 3px;
            text-decoration: none;
            /*z-index只能给非static定位的元素添加 否则无效*/
            position: relative;
            z-index: 1;
        }
        #t_l_div{position: relative;/*做参照物*/}
        #t_l_div>img{
            width: 318px;height: 319px;
            position: absolute;
            right: 30px;top: 30px;
        }
        img{
            transition-duration: 1s;/*设置动画持续时间*/
        }
        img:hover{
            transform: scale(1.1);/*设置图片悬停后缩放1.1倍*/
        }
        #t_r_div>div{
            width: 253px;
            height: 232px;
            margin: 39px 0 0 25px;
        }
        #t_r_div>img{
            width: 292px;height: 232px;position: absolute;
            right: 20px;bottom: 20px;
        }
        #t_r_div{position: relative/*做参照物*/}






    </style>
</head>
<body>
<div>
  <div id="t_div">
    <div id="t_l_div">
        <div>
            <p class="title_p">灵越 燃7000系列</p>
            <p class="intro_p">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                英特尔HD显卡620含共享显卡内存</p>
            <p class="price_p">￥4999.00</p>
            <a href="">查看详情</a>
        </div>
        <img src="https://doc.codeboy.com/tstore_v1/images/itemCat/study_computer_img1.png">
    </div>
    <div id="t_r_div">
        <div>
            <p class="title_p">颜值 框不住</p>
            <p class="intro_p">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                英特尔HD显卡620含共享显卡内存</p>
            <p class="price_p">￥6888.00</p>
            <a href="">查看详情</a>
        </div>
        <img src="https://doc.codeboy.com/tstore_v1/images/itemCat/study_computer_img2.png">
    </div>
  </div>
    <div id="b_div">
        <div id="b_l_div"></div>
        <div id="b_r_div">
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
</div>
</body>
</html>

<script>
    /**
     *  for (int i = 0; i < 10; i++) {
            int j = i+1;
        }
        int z = i+j;

     JS:
     for (let i = 0; i < 10; i++) {
            let j = i+1;
        }
     let z = i+j;  //不报错,但是i和j访问不到

     for (var i = 0; i < 10; i++) {
            var j = i+1;
        }
     var z = i+j;  //可以正常访问i和j
     */



</script>


